package Datastruct.Queue;

public class TestArrayQueue {
    public static void main(String[] args) {
        ArrqyQueue arrqyQueue=new ArrqyQueue(5);
        arrqyQueue.add(1);
        arrqyQueue.add(2);
        arrqyQueue.add(3);
        arrqyQueue.add(4);
        arrqyQueue.add(5);

        System.out.println(arrqyQueue.delete());
        System.out.println(arrqyQueue.delete());

        System.out.println(arrqyQueue.gethead());
        System.out.println(arrqyQueue.gethead());

        arrqyQueue.getAll();

    }
}
